
import commonStyles from './common.module.scss'
import styles from './QuestionTextarea.module.scss'
import { textareaPropsType } from '@/types/props'
import React, { FC } from 'react'

const QuestionTextarea:FC<textareaPropsType> = ({props})=> {
  const { title , placeholder } = props
  return (
    <div className={commonStyles.container}>
      <div className={commonStyles.title}>{title}</div>
      <div className={styles.input}>
        <textarea  placeholder={placeholder}  rows={5}/>  
      </div>      
    </div>
  )
}

export default QuestionTextarea